package com.azh.server.util;

import java.io.File;
import java.nio.channels.FileChannel;

/**
 * @author zhaozhenhang <zhaozhenhang@kuaishou.com>
 * Created on 2022-04-26
 */
public class FileCommonUtils {

    public static boolean canReadOrWrite(File file) {
        return !file.canRead() || !file.canWrite();
    }
}
